package com.my.mapper;

import com.my.pojo.Right;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RightMapper {
    public boolean addRight(Right right);
    public boolean isExistRight(String rightName);
    public List<Right> searchAllRightByRightColumnId(int id);
}
